package com.itheima.tlias84.service;

import com.itheima.tlias84.dto.SelectClazzAllDTO;
import com.itheima.tlias84.dto.SelectClazzDetailDTO;
import com.itheima.tlias84.po.InsertClazzParam;
import com.itheima.tlias84.po.SelectClazzPageParam;
import com.itheima.tlias84.po.UpdateClazzParam;
import com.itheima.tlias84.utils.ResultUtil;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 班级服务层接口
 */
public interface ClazzService {
    int insertClazz(InsertClazzParam param);

    ResultUtil selectClazzByPage(SelectClazzPageParam param);

    int updateClazz(UpdateClazzParam param);

    SelectClazzDetailDTO selectClazzById(Integer id);

    List<SelectClazzAllDTO> selectClazzAll();

    int deleteById(Integer id);

}
